package com.zheng.sch.dao.mapper;

import com.zheng.sch.dao.model.SchClass;
import com.zheng.sch.dao.model.SchClassExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SchClassMapper {
    long countByExample(SchClassExample example);

    int deleteByExample(SchClassExample example);

    int deleteByPrimaryKey(Integer classId);

    int insert(SchClass record);

    int insertSelective(SchClass record);

    List<SchClass> selectByExample(SchClassExample example);

    SchClass selectByPrimaryKey(Integer classId);

    int updateByExampleSelective(@Param("record") SchClass record, @Param("example") SchClassExample example);

    int updateByExample(@Param("record") SchClass record, @Param("example") SchClassExample example);

    int updateByPrimaryKeySelective(SchClass record);

    int updateByPrimaryKey(SchClass record);
}